package com.bitejiuyeke.job_publish.controller.params;

import com.bitejiuyeke.job_publish.utils.StringUtils;
import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * @Author 比特就业课
 */
@Data
@Component
public class UserJobPageDTO extends PageDTO{

    private Long userId; // 发布者Id

    private Byte state; // 职位状态

    private String title; // 搜索关键字

    public void setTitle(String title) {
        if (StringUtils.isEmpty(title)) {
            return;
        }
        this.title = title;
    }
}
